TLA_Media\GTM_Kit\Integration\WooCommerce D

Total Complexity 139
Dependencies 16
Dependents 2
Total lines 1,248
Lines of code 751
Logical lines of code 379
Comment lines 292
Methods 39
Properties 2

Methods 39

Method Rating Maintainability Complexity Lines of code
get_coupon_discount()
A
44 14 47
get_datalayer_content_order_received()
A
44 13 42
get_item_data()
A
46 10 34
get_datalayer_content()
A
54 9 22
enqueue_scripts()
A
49 7 32
get_order_items()
S
49 6 31
include_customer_data()
S
41 4 53
register()
S
38 1 97
get_global_data()
S
54 6 19
cart_item_remove_link()
S
49 5 32
get_purchase_event()
S
49 5 30
get_item_data_tag()
S
52 5 24
get_datalayer_content_product_page()
S
53 5 21
get_cart_items()
S
51 4 27
set_list_name_on_category_and_tag()
S
62 5 11
get_datalayer_content_checkout()
S
55 4 19
has_woocommerce_blocks()
S
61 4 11
get_datalayer_content_cart()
S
57 3 17
product_list_loop_add_to_cart_tracking()
S
54 2 23
Compatibility_With_TI_Wishlist()
S
66 3 8
get_global_settings()
S
50 1 28
extend_store()
S
57 1 20
instance()
S
65 2 9
set_list_name_in_woocommerce_loop()
S
66 2 8
get_datalayer_content_product_tag()
S
70 2 6
get_datalayer_content_product_category()
S
70 2 6
get_payment_method()
S
69 2 7
extend_product_schema()
S
66 1 9
get_woocommerce_blocks()
S
80 1 3
extend_cart_data()
S
73 1 5
extend_product_data()
S
74 1 5
product_block_add_to_cart_tracking()
S
74 1 4
prefix_item_id()
S
78 1 3
set_list_name_in_woocommerce_loop_filter()
S
74 1 5
grouped_product_add_to_cart_tracking()
S
74 1 4
single_product_add_to_cart_tracking()
S
71 1 5
get_pages_property()
S
64 1 9
get_permalink_structure_property()
S
64 1 10
__construct()
S
72 1 5